package com.hp.mapper;

import com.hp.entity.book;

import java.util.List;

public interface BookMapper {
    //查询
    List<book> findAllBook();
    //添加
    boolean addBook(book books);
    //修改
    boolean update(book books);
    //删除
    boolean delBook(int id);
}
